﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="subjectUpLoad.aspx.cs" Inherits="subjectUpLoad" %>

<%@ Register src="richeditor.ascx" tagname="richeditor" tagprefix="uc1" %>

<%@ Register assembly="Brettle.Web.NeatUpload" namespace="Brettle.Web.NeatUpload" tagprefix="Upload" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <link rel="Stylesheet" href="subjectUpLoad.css" type="text/css" media="screen" />


    <script src="../js/jquery.js" type="text/javascript"></script>    
    <script src="../js/jquery.MultiFile.js" type="text/javascript"></script>
    
    <script src="../js/jquery.MultiFile.pack.js" type="text/javascript"></script>
    <title></title>
    </head>
<body>
    <form id="form1" method="post" enctype="multipart/form-data" runat="server">
    <div id="container">
            
        <table>
            <tr>
                <td>
                <span>标题：</span>
                    <asp:TextBox ID="title" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td >
                <div id="richEdit">
                <uc1:richeditor ID="richeditor" runat="server" ToolbarDisplay="True" />
                </div>
                    </td>
            </tr>
            <tr>
                <td>
                重要性：<asp:TextBox ID="important" runat="server"></asp:TextBox>
                    <span>
                        <asp:Button ID="publish" runat="server" Text="发表" onclick="publish_Click" />
                    <asp:Button ID="up"
                            runat="server" Text="上传文件/图片" onclick="up_Click" /></span>
                </td>
            </tr>
            <tr>
                <td>
                &nbsp;<script type="text/javascript" language="javascript">
                    $(function() { // wait for document to load 
                        $('#T8B').MultiFile({
                            STRING: {
                                file: '<em title="Click to remove" onclick="$(this).parent().prev().click()">$file</em>',
                                remove: '<img src="images/open.gif" height="16" width="16" alt="x"/>'
                            }
                        });
                    });
                </script>&nbsp;<Upload:InputFile ID="InputFile1" runat="server" />
                    <br />
                    <br />
                    <Upload:DetailsSpan ID="DetailsSpan1" runat="server">
                    </Upload:DetailsSpan>
                    <br />
                    <br />
                    <Upload:ProgressBar ID="ProgressBar1" runat="server" />
                </td>
            </tr>
        </table>
            
    </div>
    </form>
</body>
</html>
